package edu.unsw.comp9321.jdbc;

import java.io.Serializable;

public class CustomerTypeDTO implements Serializable{
    

	private static final long serialVersionUID = 1L;
	private int id;
    private int ageMin;
    private int ageMax;
    private int licenseDurMax;
    private int licesneDurMin;
    private double insuranceExcess;
	
    public CustomerTypeDTO (int id, int ageMin, int ageMax, int licenseDurLt, int licenseDurGeqt, double insuranceExcess) {
    	this.id = id;
    	this.ageMin = ageMin;
    	this.ageMax = ageMax;
    	this.setLicenseDurMax(licenseDurLt);
    	this.setLicesneDurMin(licenseDurGeqt);
    	this.insuranceExcess = insuranceExcess;
    }
    
    public CustomerTypeDTO(){
    	
    }
	
	public int getCustomerTypeId() {
		return id;
	}
	
	public void setCustomerTypeId(int customerTypeId) {
		this.id = customerTypeId;
	}
    
	public int getAgeMin() {
		return ageMin;
	}
	
	public void setAgeMin(int ageMin) {
		this.ageMin = ageMin;
	}
	
	public int getAgeMax() {
		return ageMax;
	}
	
	public void setAgeMax(int ageMax) {
		this.ageMax = ageMax;
	}
	
	public double getInsuranceExcess() {
		return insuranceExcess;
	}
	
	public void setInsuranceExcess(double insuranceExcess) {
		this.insuranceExcess = insuranceExcess;
	}

	public int getLicenseDurMax() {
		return licenseDurMax;
	}

	public void setLicenseDurMax(int licenseDurMax) {
		this.licenseDurMax = licenseDurMax;
	}

	public int getLicesneDurMin() {
		return licesneDurMin;
	}

	public void setLicesneDurMin(int licesneDurMin) {
		this.licesneDurMin = licesneDurMin;
	}
	
}
